<%@page import="java.nio.charset.Charset"%>
<%@page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
	div.content{
		
	}
</style>
<%
System.setProperty("file.encoding", "utf-8");
Charset  c=Charset.defaultCharset();  
System.out.println(c.displayName());
String name = request.getParameter("name");
//name = new String(name.getBytes("ISO-8859-1"),"utf-8");
//name = new String(name.getBytes("utf-8"));
%>
<title>test</title>
</head>
<body>
	
		<div>
		<%=c.displayName() %>
		<br/>
		name:<%=name %>
	</div>
</body>
</html>